package com.quantum.eventbus.event
{
	import flash.events.Event;

	/**
	 * A MediaElement dispatches a MediaErrorEvent when it encounters an error.
	 *
	 *  @langversion 3.0
	 *  @playerversion Flash 10
	 *  @playerversion AIR 1.5
	 *  @productversion OSMF 1.0
	 */
	public class ErrorEvent extends Event
	{
		/**
		 * The MediaErrorEvent.MEDIA_ERROR constant defines the value of the
		 * type property of the event object for a mediaError event.
		 *
		 * @eventType MEDIA_ERROR
		 *
		 *  @langversion 3.0
		 *  @playerversion Flash 10
		 *  @playerversion AIR 1.5
		 *  @productversion OSMF 1.0
		 */
		public static const MEDIA_ERROR:String="mediaError";

		/**
		 * Constructor.
		 *
		 * @param type Event type.
		 * @param bubbles Specifies whether the event can bubble up the display list hierarchy.
		 * @param cancelable Specifies whether the behavior associated with the event can be prevented.
		 * @param error The error that this event encapsulates.
		 *
		 *  @langversion 3.0
		 *  @playerversion Flash 10
		 *  @playerversion AIR 1.5
		 *  @productversion OSMF 1.0
		 */
		public function ErrorEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);

		}


	}
}